html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

nav {
  padding: 1rem;
  width: 100%;
}

header {
  font-size: small;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

header img {
  width: 15rem;
  height: 1.5rem;
}

.nav_links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap; /* allows wrapping */
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  max-width: 100%;
  width: 100%;
}

.nav_links li {
  margin: 0 10px;
  white-space: nowrap; /* prevent ugly line breaks inside text */
}

.nav_links li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav_links li a:hover {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
  transform: translateY(-2px);
}


.nav_links li a:hover {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}


@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* Insert tablet styles here */
  .nav_links {
    justify-content: flex-end;
    margin: 0;
  }

  header {
    margin-bottom: 0;
    padding: 1rem;
    font-size: 1.3rem;
    }
}

/* ------------------------------------------------------------- Styles for desktops ------------------------------------------------------------------------------------------------------ */
@media only screen and (min-width: 1023.9968px) {
  /* Insert desktop styles here */
  /* Navigation styling */
  .nav_links {
    margin: 0;
  }

  header {
    margin-bottom: 0;
    padding: 1rem;
    font-size: 1.3rem;
    flex-direction: row;
    gap: 30%;
    justify-content: center;
  }

}


@media only screen and (min-width: 1372.9968px) {

  header {
    gap: 50%

  }

}